
	$(function() {
		
		$( "#dialog-form" ).dialog({
			autoOpen: false,
			height: 470,
			width: 500,
			modal: true,
			buttons: {
			},
			close: function() {
				allFields.val( "" ).removeClass( "ui-state-error" );
			}
		});

		$( ".modifier_nomade" )
			.button()
			.click(function() {
				$( "#dialog-form" ).dialog( "open" );
			});
			
					$( "#form_ajouter" ).dialog({
			autoOpen: false,
			height: 470,
			width: 500,
			modal: true,
			buttons: {
			},
			close: function() {
				allFields.val( "" ).removeClass( "ui-state-error" );
			}
		});
			
			$( "#Ajouter" )
			.button()
			.click(function() {
				$( "#form_ajouter" ).dialog( "open" );
			});
	});
